package interfaces;

import entities.TCatalog;
import java.util.Map;

import basic.QuerySet;
import basic.ResultSet;

public interface ICatalogService {

	public Boolean exist(String primaryKey) throws Exception;
	
	public Boolean contain(Map<String,Object> paramMap) throws Exception;
	
	public String route(String primaryKey,String sourceString) throws Exception;

	public TCatalog fetch(String primaryKey) throws Exception;
	
	public TCatalog single(Map<String,Object> paramMap) throws Exception;

	public TCatalog persist(TCatalog entityBean) throws Exception;

	public Integer remove(String primaryKey ) throws Exception;
	
	public Integer expunge(Map<String,Object> paramMap) throws Exception;

	public Integer record(Map<String,Object> paramMap) throws Exception;

	public  ResultSet<TCatalog> search(QuerySet<Object> querySet) throws Exception;
	
}
